home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: Greatest Hits 1996 / Amiga Games: Greatest Hits 1996.iso / archive / userbox / publicdomain / yagin.lha / YAGIN / Examples / stopnet_4.0D < prev    next >
AmigaDOS Script File  |  1996-07-06  |  240b  |  17 lines

  1. .KEY FLUSH/S
  2. .BRA [
  3. .KET ]
  4.  
  5. ; $VER: StopNet 1.0 (5.7.95) Arndt van der Molen
  6.  
  7. offline ppp0
  8.  
  9. rx "address AMITCP; KILL" ; Send "KILL" to AmiTCP
  10.  
  11. If {FLUSH}
  12.     Wait 2 secs
  13.     If `rx "Say Show(ports, AMITCP)"` EQ 0
  14.         Avail >NIL: FLUSH
  15.     EndIf
  16. EndIf
  17.